<div class="login-main">
  <div class="container clearfix">
    <div class="login-warp col-md-5 col-xs-12 pull-right">
      <!-- 找回密码 -->
      <div class="login-content">
        <form #forgetPsdForm="ngForm" class="form-group">

          <div class="login-input-warp">
            <label for="username"></label>
            <input type="text" name="userName" required class="login-input" id="username" aria-describedby="username" placeholder="手机号" [(ngModel)]="passeditMsg.mobile">
          </div>

          <div class="login-input-warp">
            <label for="phone_code"></label>
            <input type="text" name="phone_code" required class="login-input v-code" id="phone_code" aria-describedby="phone_code" placeholder="验证码" [(ngModel)]="passeditMsg.code">
            <span class="input-group-btn vurl-code">
               <img src="{{vUrl}}" alt="" (click)="vCode()">
            </span>
          </div>

          <div class="login-input-warp">
            <label for="getpass_phone_code"></label>
            <input type="text" name="getpass_phone_code" required class="login-input v-code" id="getpass_phone_code" aria-describedby="getpass_phone_code" placeholder="手机验证码" [(ngModel)]="passeditMsg.mobile_vl_code">
            <span class="input-group-btn">
              <button class="btn btn-default" type="button"
                      (click)="getPhoneCode(3, passeditMsg.mobile);"
                      [disabled]="redirectSmsSendTime">{{redirectSmsSendTime?'再次获取验证码' + redirectSmsSendTime:'获取验证码'}}</button>
            </span>
          </div>

          <div class="login-input-warp">
            <label for="password"></label>
            <input type="password" name="password" required class="login-input" id="password" aria-describedby="new_password" placeholder="密码:6位以上数字字母组合" [(ngModel)]="passeditMsg.password">
          </div>

          <div class="login-input-warp">
            <label for="password_rep"></label>
            <input type="password" name="password_rep" required class="login-input" id="password_rep" aria-describedby="new_password" placeholder="再次输入密码" [(ngModel)]="passeditMsg.password_rep">
          </div>
          <div class="input-group">
            <button class="btn btn-sm btn-success btn-block" type="submit" [disabled]="!forgetPsdForm.form.valid"
                    (click)="passedit()">确认</button>
          </div>
        </form>
      </div>
    </div>
  </div>
</div>

